<?php
/* @file del-language.php
 * @author Liuexp
 * @description php interface for deleting language
 */


require_once("helper.php");
if(!InGroup(GROUP_DEL_LANG)){
	MsgBox(ACCESS_DENIED);
	exit();
}
$name=$_GET['language'];
$bean=R::findOne("language","name='$name'");
R::trash($bean);
MsgBox(SUCC);
?>
